package com.retail.common.domain.response.pms;


import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * sku信息
 * @TableName pms_sku
 */
@TableName(value ="pms_sku")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PmsSku implements Serializable {
    /**
     * skuId
     */
    @TableId
    private Long id;

    /**
     * spuId
     */
    private Long spuId;

    /**
     * sku名称
     */
    private String name;

    /**
     * 所属分类id
     */
    private Long catagoryId;

    /**
     * 品牌id
     */
    private Long brandId;

    /**
     * 默认图片
     */
    private String defaultImage;

    /**
     * 标题
     */
    private String title;

    /**
     * 副标题
     */
    private String subtitle;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 重量（克）
     */
    private Integer weight;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
